package cn.com.generaldata.os.exportpojo;

import com.sun.xml.internal.bind.CycleRecoverable;

public class ReportUnit implements java.io.Serializable, CycleRecoverable {

	private static final long serialVersionUID = -6404314064704214463L;

	private String id;
	private String reportId;
	private String unitId;
	private String areaId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReportId() {
		return reportId;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public void setReportId(String reportId) {
		this.reportId = reportId;
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	public Short getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(Short checkStatus) {
		this.checkStatus = checkStatus;
	}

	public ReportUnit(String reportId, String unitId, String areaId, Short checkStatus) {
		super();
		this.reportId = reportId;
		this.unitId = unitId;
		this.areaId = areaId;
		this.checkStatus = checkStatus;
	}

	public ReportUnit(String id, String reportId, String unitId, String areaId, Short checkStatus) {
		super();
		this.id = id;
		this.reportId = reportId;
		this.unitId = unitId;
		this.areaId = areaId;
		this.checkStatus = checkStatus;
	}

	public ReportUnit() {
		super();
	}

	private Short checkStatus;

	@Override
	/**
	 * 解决CXF循环引用问题.
	 * @param arg0
	 * @return
	 */
	public Object onCycleDetected(Context arg0) {
		ReportUnit temp = new ReportUnit();
		temp.setId(id);
		return temp;
	}

}
